﻿using System;
using System.Net;
using System.Net.Mail;
using System.Text;

public partial class Pages_About : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack) return;
        GetContent();
    }




    /// <summary>
    /// 
    /// </summary>
    private void GetContent()
    {
        var news = new Business.News { NewsID = 1 }.NewsGetByNewsId();
        if (news == null) return;
        ltrTitle.Text = news.Title;      
        ltrContent.Text = news.Content;
    }
   
}